/* eslint-disable quotes */
import request from '@/utils/request'
// 收/发货地址列表
export function address_list(data) {
  return request({
    url: '/web/v1/address/detail/address/list',
    method: 'get',
    params: data

  })
}
// 货单列表
export function goods_list(data) {
  return request({
    url: '/web/v1/goods/detail/list',
    method: 'get',
    params: data

  })
}
// 添加/编辑货单准备(收发货地址列表，开票信息，货物类型,货单)
export function edit_goods_pre(data) {
  return request({
    url: '/web/v1/goods/pre/edit/goods',
    method: 'get',
    params: data

  })
}
// 货单编辑
export function goods_edit(data) {
  return request({
    url: '/web/v1/goods/edit/goods-detail',
    method: 'post',
    params: data

  })
}
// 删除收/发货地址
export function del_address(data) {
  return request({
    url: '/web/v1/goods/del/owner/address',
    method: 'post',
    params: data

  })
}
// 编辑用户地址信息
export function edit_owner_address(data) {
  return request({
    url: '/web/v1/goods/edit/owner/address',
    method: 'post',
    params: data

  })
}
